sort string with number python dictionary